package com.study.spmongodb.wwj.thread2.char11;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/8 21:07
 */
public class QueryFromDBAction {

    public void execute() {
        try {
            Thread.sleep(1000);
            String name = "Alex|";
            ActionContext.getActionContext().getContext().setName(name + Thread.currentThread().getName());
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }
}
